package com.ht.shop.dao;

import com.ht.shop.pojo.TbGoodsType;

import java.sql.SQLException;
import java.util.List;

public interface GoodsTypeDao {
    List<TbGoodsType> findAllSecondLeveType() throws SQLException;
    void addType(String name,String parent) throws SQLException;
    int deleteType(String id);
    List<TbGoodsType> findIdByPIdAndStaus(String pid,int stratus);
}
